<template>
  <table-row-detail-dialog
    dialogTitle="电梯信息看板"
    ref="panelDialog"
    dialogWidth="80%"
    :needRefresh="true"
  >
    <Panel ref="Panel" :id="id"></Panel>
  </table-row-detail-dialog>
</template>

<script>
import Panel from "@/views/elevator-archives/info/components/Panel.vue";
import TableRowDetailDialog from "@/components/TableRowDetailDialogNew/index";
export default {
  name: "DialogPanel",
  data() {
    return {
      id: "",
    };
  },
  components: {
    Panel,
    TableRowDetailDialog,
  },
  methods: {
    show(id) {
      if (!id) return;
      this.id = id;
      this.$refs.panelDialog.show("null");
    },
  },
};
</script>
<style lang="scss" scoped></style>
